package com.xunyji.springsecurity02.repository;

import com.xunyji.springsecurity02.pojo.dataobject.SecurityUserDO;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author 王杨帅
 * @create 2018-09-08 20:10
 * @desc
 **/
public interface UserRepository extends JpaRepository<SecurityUserDO, Integer> {

    SecurityUserDO findByUsername(String username);

}
